YAYDP\Helper\YAYDP_Condition_Helper D

Total Complexity 162
Dependencies 2
Dependents 3
Total lines 849
Lines of code 534
Logical lines of code 373
Comment lines 232
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
check_list_conditions()
C
35 27 86
check_order_history_product()
A
44 12 45
check_shipping_region()
A
49 12 27
check_order_history_category()
A
46 10 39
check_combined_items()
A
49 10 31
get_cart_items_match_product()
A
49 10 29
check_customer_order_count_from_last_discount()
A
49 8 31
get_cart_items_match_tag()
A
51 8 25
get_cart_items_match_category()
A
51 8 25
check_bought_products()
A
52 8 24
check_orders_purchased_date()
S
51 7 27
check_payment_method()
S
58 7 13
check_applied_coupons()
S
55 5 19
check_cart_item_regular_price()
S
62 3 11
check_cart_item_category()
S
63 3 10
check_cart_item_tag()
S
63 3 10
check_customer_role()
S
62 2 11
check_logged_customer()
S
77 2 3
check_cart_subtotal_price()
S
63 2 10
get_order_history_available_statuses()
S
67 2 8
check_customer_order_count()
S
66 2 8
check_specific_customer()
S
68 2 6
check_cart_item()
S
68 2 7
check_cart_quantity()
S
66 2 8
check_product_variation()
S
68 2 7
check_shipping_total()
S
74 1 4
check_cart_total_weight()
S
74 1 4
check_conditions()
S
70 1 6